<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 用来演示Jsonp接口调用 -->
    <!-- 动态的创建script标签--可以用来解决跨域的问题--
    传递参数 -->
    <script>
      let script = document.createElement("script")
      script.src = "http://localhost:8095/list?name=test"
      document.body.appendChild(script)    //动态的创建script

      function test(obj){
        console.log(obj)
      }
    </script>
</body>
</html>